package com.base.service.impl;

import com.base.mapper.voipmapper.RebateOrdersPddMapper;
import com.base.po.voip.RebateOrdersPdd;
import com.base.po.voip.RebateOrdersPddExample;
import com.base.service.RebateOrdersPddService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rebateOrdersPddService")
public class RebateOrdersPddServiceImpl implements RebateOrdersPddService {
	@Autowired
	private RebateOrdersPddMapper rebateOrdersPddMapper;

	@Override
	public int countByExample(RebateOrdersPddExample example) {
		return rebateOrdersPddMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(RebateOrdersPddExample example) {
		return rebateOrdersPddMapper.deleteByExample(example);
	}

	@Override
	public int insert(RebateOrdersPdd record) {
		return rebateOrdersPddMapper.insert(record);
	}

	@Override
	public int insertSelective(RebateOrdersPdd record) {
		return rebateOrdersPddMapper.insertSelective(record);
	}

	@Override
	public List<RebateOrdersPdd> selectByExample(RebateOrdersPddExample example) {
		return rebateOrdersPddMapper.selectByExample(example);
	}

	@Override
	public RebateOrdersPdd selectByPrimaryKey(String orderSn) {
		return rebateOrdersPddMapper.selectByPrimaryKey(orderSn);
	}

	@Override
	public int updateByExampleSelective(RebateOrdersPdd record, RebateOrdersPddExample example) {
		return rebateOrdersPddMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(RebateOrdersPdd record, RebateOrdersPddExample example) {
		return rebateOrdersPddMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(RebateOrdersPdd record) {
		return rebateOrdersPddMapper.updateByPrimaryKeySelective(record);
	}
}
